<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>embedme: libemb::Bitable&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>libemb</b></li><li class="navelem"><a class="el" href="classlibemb_1_1_bitable.html">Bitable</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classlibemb_1_1_bitable-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">libemb::Bitable&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>用于对类型T进行位操作  
 <a href="classlibemb_1_1_bitable.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_base_type_8h_source.html">BaseType.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac9bde967e494238b2036bbc1bba744b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_bitable.html#ac9bde967e494238b2036bbc1bba744b4">Bitable</a> (const T &amp;<a class="el" href="classlibemb_1_1_bitable.html#af2aa2812489c2cac8d91a43af99d310d">value</a>)</td></tr>
<tr class="memdesc:ac9bde967e494238b2036bbc1bba744b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造位值类  <a href="classlibemb_1_1_bitable.html#ac9bde967e494238b2036bbc1bba744b4">More...</a><br /></td></tr>
<tr class="separator:ac9bde967e494238b2036bbc1bba744b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7583c2b1989da76531bb3c433219adb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibemb_1_1_bitable.html">Bitable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_bitable.html#a7583c2b1989da76531bb3c433219adb3">set</a> (<a class="el" href="_base_type_8h.html#addd0d1ba39d05a893db9eba78123ee5a">uint8</a> bit)</td></tr>
<tr class="memdesc:a7583c2b1989da76531bb3c433219adb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置位  <a href="classlibemb_1_1_bitable.html#a7583c2b1989da76531bb3c433219adb3">More...</a><br /></td></tr>
<tr class="separator:a7583c2b1989da76531bb3c433219adb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91b63b720bddc68d88087047ac967e22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibemb_1_1_bitable.html">Bitable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_bitable.html#a91b63b720bddc68d88087047ac967e22">clr</a> (<a class="el" href="_base_type_8h.html#addd0d1ba39d05a893db9eba78123ee5a">uint8</a> bit)</td></tr>
<tr class="memdesc:a91b63b720bddc68d88087047ac967e22"><td class="mdescLeft">&#160;</td><td class="mdescRight">清除位  <a href="classlibemb_1_1_bitable.html#a91b63b720bddc68d88087047ac967e22">More...</a><br /></td></tr>
<tr class="separator:a91b63b720bddc68d88087047ac967e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2aa2812489c2cac8d91a43af99d310d"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_bitable.html#af2aa2812489c2cac8d91a43af99d310d">value</a> ()</td></tr>
<tr class="memdesc:af2aa2812489c2cac8d91a43af99d310d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前值  <a href="classlibemb_1_1_bitable.html#af2aa2812489c2cac8d91a43af99d310d">More...</a><br /></td></tr>
<tr class="separator:af2aa2812489c2cac8d91a43af99d310d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class libemb::Bitable&lt; T &gt;</h3>

<p>用于对类型T进行位操作 </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td></td></tr>
  </table>
  </dd>
</dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac9bde967e494238b2036bbc1bba744b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9bde967e494238b2036bbc1bba744b4">&#9670;&nbsp;</a></span>Bitable()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibemb_1_1_bitable.html">libemb::Bitable</a>&lt; T &gt;::<a class="el" href="classlibemb_1_1_bitable.html">Bitable</a> </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造位值类 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a91b63b720bddc68d88087047ac967e22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91b63b720bddc68d88087047ac967e22">&#9670;&nbsp;</a></span>clr()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibemb_1_1_bitable.html">Bitable</a>&amp; <a class="el" href="classlibemb_1_1_bitable.html">libemb::Bitable</a>&lt; T &gt;::clr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_base_type_8h.html#addd0d1ba39d05a893db9eba78123ee5a">uint8</a>&#160;</td>
          <td class="paramname"><em>bit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>清除位 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bit</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classlibemb_1_1_bitable.html" title="用于对类型T进行位操作">Bitable</a>&amp; </dd></dl>

</div>
</div>
<a id="a7583c2b1989da76531bb3c433219adb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7583c2b1989da76531bb3c433219adb3">&#9670;&nbsp;</a></span>set()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibemb_1_1_bitable.html">Bitable</a>&amp; <a class="el" href="classlibemb_1_1_bitable.html">libemb::Bitable</a>&lt; T &gt;::set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_base_type_8h.html#addd0d1ba39d05a893db9eba78123ee5a">uint8</a>&#160;</td>
          <td class="paramname"><em>bit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置位 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bit</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classlibemb_1_1_bitable.html" title="用于对类型T进行位操作">Bitable</a>&amp; </dd></dl>

</div>
</div>
<a id="af2aa2812489c2cac8d91a43af99d310d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2aa2812489c2cac8d91a43af99d310d">&#9670;&nbsp;</a></span>value()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classlibemb_1_1_bitable.html">libemb::Bitable</a>&lt; T &gt;::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取当前值 </p>
<dl class="section return"><dt>Returns</dt><dd>T </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="_base_type_8h_source.html">BaseType.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
